﻿using System;
using System.Collections.Generic;
using System.Text;
using DAOAcademias;
using TOAcademias;

namespace BOAcademias
{
    public class BOAcademia
    {
        private  DOAcademia doAcademia;

        public BOAcademia()
        {
            doAcademia = new DOAcademia();
        }

        public List<TOAcademia> obtenerAcademias()
        {
            return doAcademia.obtenerAcademias();
        }



        public void insertarAcademia(TOAcademia toAcademia)
        {
            doAcademia.insertarAcademia(toAcademia);
        }

        public void modificarAcademia(TOAcademia toAcademia)
        {
            doAcademia.modificarAcademia(toAcademia);
        }
    }
}
